#include "stdafx.h"
#include "GeneralNCU.h"
GeneralNCU::GeneralNCU()//:
//m_currentSill(0)
{
}
GeneralNCU::GeneralNCU(const char &id, const unsigned int &config):
m_label(id, config)
{
}
GeneralNCU::GeneralNCU(const char &id):
m_label(id)
{
}
GeneralNCU::GeneralNCU(const GeneralNCU &rhs):
//m_currentSill(rhs.m_currentSill),
m_genomeSet(rhs.m_genomeSet),
m_label(rhs.m_label)
{
}
GeneralNCU::~GeneralNCU()
{
}
void GeneralNCU::sillUpper(const double upper)
{
	m_genomeSet.SillUpper(upper);
}
void GeneralNCU::sillLower(const double lower)
{
	m_genomeSet.SillLower(lower);
}
void GeneralNCU::sillLength(const unsigned int dits)
{
	m_genomeSet.SillLength(dits);
}
void GeneralNCU::ventLength(const unsigned int dits)
{
	m_genomeSet.VentLength(dits);
}
const string GeneralNCU::configString() const
{
	return m_label.label();
}
const NCUGenomeSet& GeneralNCU::genomeSet() const
{
	return m_genomeSet;
}
GeneralNCU& GeneralNCU::operator=(const GeneralNCU& rhs)
{
	if ( this != &rhs)
	{
		//m_currentSill = rhs.m_currentSill;
        m_genomeSet = rhs.m_genomeSet;
		m_label = rhs.m_label;
	}
	return (*this);
}